package com.shanshan.system.service;

import com.shanshan.system.entity.Admin;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shanshan.system.vo.Result;
import com.shanshan.system.vo.SearchAdmin;
import com.shanshan.system.vo.UserVo;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author shanshan
 * @since 2023-01-31
 */
public interface IAdminService extends IService<Admin> {
    Result admin();

    Result updateAdmin(Admin admin);

    Result selectAdminAll(int currentPage, int pageSize, SearchAdmin searchAdmin);

    Result deleteAdmin(Integer id);

    Result addAdmin(Admin admin);

    Result branchId(Integer id);

    Result selectId(Integer id);

    Result accountName(int currentPage, int pageSize, UserVo userVo);
}
